package com.koocloud.electroplatemanage.service;

import com.koocloud.electroplatemanage.common.pojo.ResponseTemplate;
import com.koocloud.electroplatemanage.pojo.IncomeBasicInfoVo;

/**
 * @program: electroplatemanage
 * @description: 来件基本信息Service接口
 * @author: xxc
 * @create: 2020-11-13 15:02
 */
public interface IncomeBasicInfoService {

    //通过工单号查询一条来件基本信息
    ResponseTemplate selectByWorkOrderNumber(String workOrderNumber);

    //对来件基础信息进行全表查询
    ResponseTemplate selectAllData(String page, String limit, IncomeBasicInfoVo incomeBasicInfoVo);

    //新增一条来件基础信息数据
    ResponseTemplate insert(IncomeBasicInfoVo incomeBasicInfoVo,String userId);

    //逻辑删除一条记录
    ResponseTemplate delete(String id,String userId,String deleteFlag);

    //修改一条来件基础信息记录
    ResponseTemplate update(IncomeBasicInfoVo incomeBasicInfoVo,String userId);

    //来件基本信息确认按钮
    ResponseTemplate confirmEntryInfo(String workOrderNumber,String userId);

    //保存图片
    ResponseTemplate insertImg(String file);

}
